package com.dgut.service;

import com.dgut.entity.PurchaseOrder;
import com.dgut.result.PageResult;

public interface PurchaseOrderService {
    /**
     * 新增进货单
     *
     * @param purchaseOrder
     */
    void save(PurchaseOrder purchaseOrder);

    /**
     * 分页查询
     *
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageResult pageQuery(Integer currentPage, Integer pageSize);

    /**
     * 确认进货单完成
     *
     * @param id
     */
    void confirm(Long id);
}
